<template>
  <div>
    <el-container>
  <el-aside >
   <Sider></Sider>
  </el-aside>
  <el-container>
    <!-- 头部 -->
    <el-header>
      <Header></Header>
    </el-header>
    <!-- 主体 -->
    <el-main>
     <Main></Main>
    </el-main>
  </el-container>
</el-container>

  </div>

</template>

<script>
import Sider from '../sider/index'
import Header from '../Header/index.vue'
import Main from '../Main/index.vue'
export default {
  name: 'HomwIndex',
  components: { Sider, Header, Main },
  data () {
    return {

    }
  }
}
</script>

<style lang='scss' scoped>

  .el-header {
    background-color: #B3C0D1;
    color: #333;
    text-align: center;
    line-height: 60px;
    padding: 0;
  }
  .el-aside {
    background-color: #2a3139;
    color: #333;
    text-align: center;
    line-height: 200px;
    width: 180px !important;
  }
  .el-main{
    padding: 0;
  }
</style>
